# alist = [1, 2, 3, 4]
# alist.pop()
# print(alist)

# alist = [1, 2, 3, 4]
# alist.pop(2)
# print(alist)

# alist = [1, 2, 3, 4]
# alist.remove(2)
# print(alist)

# alist = [1, 2, 3, 4]
# blist = [5, 6, 7]
# print(alist + blist)

# alist = [1, 2, 3, 4]
# blist = [5, 6, 7]
# c = alist.extend(blist)
# print(alist)
# print(blist)
# print(c)

a = [1, 2, 3, 4]
b = [5, 6, 7, 8]
a += b
print(a)
print(b)









